package com.cykj.controller;

import com.cykj.dto.ResponseDto;
import com.cykj.service.AppointmentService;
import com.cykj.vo.UserAssessVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @BelongsProject: Psychology
 * @BelongsPackage: com.cykj.controller
 * @Author: 小林
 * @CreateTime: 2025-02-07 10:33
 * @Description: 存储咨询记录表控制层
 * @Version: 1.0
 */
@RestController
@RequestMapping("/appion")
public class AppointmentController {
    @Autowired
    private AppointmentService appointmentService;

    /**
     * 获取咨询记录表所有信息
     * @param vo
     * @return
     */
    @RequestMapping("/getAppiontmentAndtyoeAndUser")
    public ResponseDto getAppiontmentAndtyoeAndUser(@RequestBody UserAssessVo vo){
        return appointmentService.getAppiontmentAndtyoeAndUser(vo);
    }
}

